/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.svh.Entidad;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author Luis Alonso Ballena Garcia
 */
@Entity
@Table(name = "CONST")
public class Const implements Serializable  {
    
    @Id
    private IdConst id;
    
    @Column(name = "descripcion", nullable = true)
    private String descripcion;

    public Const() {
    }

    public Const(IdConst id) {
        this.id = id;
    }

    /** GETTERS AND SETTERS
     * @return  **/
    
    public IdConst getId() {
        return id;
    }

    public void setId(IdConst id) {
        this.id = id;
    }

    public String getDescripcion() {
        return descripcion;
    }

    public void setDescripcion(String descripcion) {
        this.descripcion = descripcion;
    }

    
    
   
    
}
